|
digipot10 2.2.1
|
DIGI POT 10 Click example. More...
Macros | |
| #define | MIKROBUS_POSITION_DIGIPOT10 MIKROBUS_1 |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
DIGI POT 10 Click example.
This example demonstrates the use of the DIGI POT 10 Click board. The application gradually changes the wiper positions of both potentiometers in opposite directions and logs their values.
The demo application is composed of two sections :
Initializes the driver, checks communication, and applies the default configuration.
Alternately increments and decrements the wiper positions of both channels, while logging their values every second.
| #define MIKROBUS_POSITION_DIGIPOT10 MIKROBUS_1 |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |